package hutool;

import cn.hutool.core.util.ObjectUtil;

public class CloneTest {
    public static void main(String[] args) {
        User user = new User("1", 20);
        User user2=ObjectUtil.cloneByStream(user);
        user2.setId("2");
        System.out.println(user.getId());

    }
}
